package com.crm.common.model.Enum;

/**
 * 消息枚举
 */
public enum NewsEnum {
    READ(0,"已读消息"),
    NO_READ(1,"未读消息"),

    APPROVAL_MESS(2,"审批消息"),
    RECEIVABLE_MESS(3,"回款消息"),
    SYS_MESS(4,"系统消息"),
    COMMON_MESS(5,"普通消息"),

    NO_IMPORTANT(0,"不重要消息"),
    IMPORTANT(1,"重要消息");


    private int value;
    private String key;

    NewsEnum(int value, String key){
        this.key = key;
        this.value = value;
    }

    public int getValue(){
        return value;
    }

    public String getKey(){
        return key;
    }
}
